package com.mcxx.modules.miniSalvation.fundpay.dao.read;

import com.mcxx.modules.miniSalvation.fundpay.dto.FundpayExceptionDTO;
import com.mcxx.modules.miniSalvation.fundpay.entity.FundpayExceptionEntity;
import com.yinhai.ta404.module.mybatis.mapper.Ta404SupportMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FundpayExceptionReadDao extends Ta404SupportMapper {

    List<FundpayExceptionEntity> listAll();



    FundpayExceptionEntity getById(String id);


    List<FundpayExceptionEntity> selectExceptionByFundpayId(String fundpayId);


    List<FundpayExceptionEntity> selectExceptionByTempFundpayId(String fundpayId);


    List<String> selectExceptionIdByFundpayId(String fundpayId);


    List<FundpayExceptionDTO> selectExceptionByIDAndFundpayId(@Param("fundpayId") String fundpayId
            , @Param("exceptionIdList") List<String> exceptionIdList);


    List<FundpayExceptionDTO> selectTempExceptionByIDAndFundpayId(@Param("fundpayId") String fundpayId
            , @Param("exceptionIdList") List<String> exceptionIdList);
}
